using System.Text;
using System.Data.Entity.ModelConfiguration;
using WMSNet.Model.Models;

namespace WMSNet.Data.Configuration
{
    public class StorageStratConfiguration : EntityTypeConfiguration<StorageStrat>
    {
        public StorageStratConfiguration()
        {
            Property(g => g.StorageStratID).IsRequired();
            Property(g => g.AdditionalContent).IsOptional();
            Property(g => g.Created).IsOptional();
         
            Property(g => g.Modified).IsOptional();
           
            Property(g => g.ClientMode).IsOptional();
            Property(g => g.MixClient).IsOptional();
            Property(g => g.MixItem).IsOptional();
            Property(g => g.Name).IsOptional();
            Property(g => g.OrderbyMode).IsOptional();
            Property(g => g.UseItemZone).IsOptional();
            Property(g => g.UsePicking).IsOptional();
            Property(g => g.UseStorage).IsOptional();
            Property(g => g.ZoneID).IsRequired();
        }
    }
}